package com.weixin.engine.daily.distribute;

import com.weixin.common.core.doman.Result;
import com.weixin.engine.enums.ExecutorRouteStrategyEnum;

/**
 * @author wangchunhui
 * @date 2023/2/1 10:06
 */
public class ExecutorTest {

    public static void main(String[] args) {
        Result result1= ExecutorRouteStrategyEnum.FIRST.getRouter().route("xx");
        System.out.println(result1);

        Result result2= ExecutorRouteStrategyEnum.LAST.getRouter().route("xx");
        System.out.println(result2);
    }
}
